package demolinkedlist;

/**
 * @Description
 */

public class Test {

    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.addFirst(1);
        myLinkedList.addFirst(2);
        myLinkedList.addFirst(3);
        //myLinkedList.addFirst(4);
        //myLinkedList.addLast(4);

        //myLinkedList.addLast(0);
        //myLinkedList.addIndex(2);
        //myLinkedList.removeAllKey(4);
        myLinkedList.clear();
        myLinkedList.display();
    }
}
